<?php

require_once ('Zend/Mail/Transport/Smtp.php');
require_once ('Zend/Mail.php');
$config = array(
	'ssl' => 'tls',
	'port' => 587,
	'auth' => 'login',
	'username' => 'agustincldevel@gmail.com',
	'password' => ''
);
$smtpConnection = new Zend_Mail_Transport_Smtp('smtp.gmail.com', 
												$config);
    
      $mail = new Zend_Mail();
      $mail->setBodyText('My Nice Test Text');
      $mail->setBodyHtml('My Nice <b>Test</b> Text');
      $mail->setFrom('agustincldevel@gmail.com', 'Some Sender');
      $mail->addTo('agustincl@gmail.com', 'Some Recipient');
      $mail->setSubject('TestSubject');
      $mail->send($smtpConnection);
		
		

